package com.xju.atpgs.service;

import com.xju.atpgs.entity.*;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface QuestionService {
    void insert(Question question);
    void uploadFile(MultipartFile file);
    Question transformToQuestion(UploadQuestion uploadQuestion);
    List<Question> findAll();
    Question modifyRequest(String id);
    ResultQuestion questionDetail(String id, String section, String type, String level);
    ResultQuestion transformToResultQuestion(Question question);
    ResultQuestionManage manage(String section,String type,String level);
    ResultQuestion pageDetail(String id, String section, String type, String level,String page);
    List<Question> findByType(String typename);
    Question findbyId(String id);
}
